/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package consys.social.core.service;

import consys.social.core.NotAuthorizedException;
import consys.social.core.bo.Entity;
import consys.social.core.bo.WallPost;
import java.io.IOException;
import java.util.List;

/**
 *
 * @author petan
 */
public interface LikeService {
    void like(Entity who, WallPost what) throws IOException, NotAuthorizedException;
    void unlike(Entity who, WallPost what) throws IOException, NotAuthorizedException;
    List<Entity> getLikes(WallPost post) throws IOException;
}